WebOptions

Note: This statement is only used in load test scripts. See Load Testing for more information.

Sends an OPTIONS command and returns the requests accepted by the web server that hosts the URL.

Syntax

WebOptions("URL")

Arguments

Argument Description
URL URL to send the request to. Only supports http and https protocols. Relative paths are automatically prepended with the %URLROOT% repository variable.

Return value

Value Description
Value Requests accepted by the web server.
<Empty string> Web server response did not include accepted requests.

Example

result = WebOptions("http://www.wysicorp.com/form.php")